﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Edit.Master" AutoEventWireup="true"
    CodeBehind="ASingleWellSearch.aspx.cs" Inherits="Web.Views.SingleWellManage.ASingleWellSearch" %>

<%@ Register TagName="SinglewellFilter" TagPrefix="x"  Src="~/UserControls/SinglewellFilter.ascx"%>
<%@ Register TagName="ArchiveFilter" TagPrefix="x" Src="~/UserControls/ArchiveFilter.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../../Javascript/UserControls.js" type="text/javascript"></script>
    <link href="../../App_Themes/NewPage/Styles/kington.css" rel="Stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="button" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="edit" runat="server">
    <div>
        <fieldset>
            <legend>查询条件</legend>
            <x:SinglewellFilter ID="xSinglewell" runat="server"  />
            <x:ArchiveFilter ID="xArchive" runat="server" />
        </fieldset>
    </div>
    <div class="toolbar2">
        <button type="reset" class="sexybutton" runat="server" id="btnSearchSingelWell" onserverclick="btnSearchSingelWell_Click">
            <span><span><span class="add">查询</span></span></span></button>
        <button type="button" class="sexybutton" runat="server" id="btnDelete">
            <span><span><span class="edit">重置</span></span></span></button>
    </div>
    <div runat="server" id="divAgent">
        <fieldset>
            <legend>待处理数据</legend>
            <ep:EPGridView ID="gv_SingleWellList" runat="server" Width="100%" AutoGenerateColumns="False"
                dataSortExpression="" EnableEmptyContentRender="True" EnableModelValidation="True"
                Goto="0" GvPageCount="0" ShowCheckBox="False">
                <Columns>
                    <asp:HyperLinkField HeaderText="查看详细" Text="查看" DataNavigateUrlFormatString="SingleWellEntry.aspx?RecordID={0}"
                        DataNavigateUrlFields="DataID">
                        <FooterStyle Width="80px" />
                    <HeaderStyle Width="80px" />
                        <ItemStyle HorizontalAlign="Center" Width="80px" />
                    </asp:HyperLinkField>
                    <asp:BoundField DataField="DataID" Visible="false" />
                    <asp:BoundField HeaderText="文件名" DataField="DataFileName" HeaderStyle-Width="15%"
                        ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="15%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="施工措施" DataField="WORKMODE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="开工日期" DataField="BEGINDATE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center"
                        DataFormatString="{0: yyyy-MM-dd}">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="完工日期" DataField="FINISHDATE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center"
                        DataFormatString="{0: yyyy-MM-dd}">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="井号" DataField="WELLCODE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="井别" DataField="WELLTYPE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="开钻日期" DataField="BEGINWORKDATE" HeaderStyle-Width="7%"
                        ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="完钻日期" DataField="FINISHWORKDATE" HeaderStyle-Width="7%"
                        ItemStyle-HorizontalAlign="Center" DataFormatString="{0: yyyy-MM-dd}">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField HeaderText="完钻深度" DataField="WELLDEPTH" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    </asp:BoundField>
                </Columns>
                <PagerTemplate>
                    <asp:Table ID="Table1" runat="server">
                        <asp:TableRow ID="TableRow1" runat="server">
                            <asp:TableCell ID="TableCell1" runat="server">
                                <asp:Label runat="server" ID="lbPage" Style="margin-right: 50px;">总共有几页</asp:Label>
                                
<asp:LinkButton runat="server" CommandName="Page" CommandArgument="First" ID="btnFirst">
                                    <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/NewGrid/page+.png"></asp:Image>
                                
</asp:LinkButton>
                                
<asp:LinkButton runat="server" CommandName="Page" CommandArgument="Prev" ID="btnPrev">
                                    <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/NewGrid/page+-.png"></asp:Image>
                                
</asp:LinkButton>
                                
<asp:LinkButton runat="server" CommandName="Page" CommandArgument="Next" ID="btnNext">
                                    <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/NewGrid/page-+.png"></asp:Image>
                                
</asp:LinkButton>
                                
<asp:LinkButton runat="server" CommandName="Page" CommandArgument="Last" ID="btnLast">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/NewGrid/page-.png"></asp:Image>
                                
</asp:LinkButton>
                                
<asp:TextBox runat="server" Height="15px" Width="30px" ID="txtPageInex" onkeydown="enteryKeyEvent(this);"></asp:TextBox>
                                
<asp:LinkButton runat="server" CommandName="goto" ID="btnGoto">
                                    <asp:Image ID="Image5" runat="server" ImageUrl="~/Images/NewGrid/go.png"></asp:Image>
                                
</asp:LinkButton>
                            
</asp:TableCell>
                        </asp:TableRow>
                    </asp:Table>
                </PagerTemplate>
            </ep:EPGridView>
        </fieldset>
    </div>
</asp:Content>
